#
CC = gcc 

SRCS =	error.c hash.c help.c read_cct.c \
	print.c fsim.c lsim.c do_main.c read_faults.c \
	read_test.c stem.c structure.c time.c truth.c
	
CPPFLAGS=-c -std=c++11 -O3  
LDFLAGS= 
CCX=g++	
SOURCES= 	hope.cpp global.cpp main.cpp FDR.cpp 

OBJECTS=$(SOURCES:.cpp=.o)
OBJS=$(SRCS:.c=.o)

dbf: $(OBJECTS) $(OBJS)
	$(CXX) $(LDFLAGS) $(OBJECTS) $(OBJS) -o $@

.cpp.o:
	$(CXX) $(CPPFLAGS) $< 

#
# Makefile of hope

.c.o:
	$(CC)  -c -O3  $< 

.PHONY: clean
clean:
	rm  *.o dbf*
